home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
squota-0.01
/
squota-0~
/
Squota
/
Install.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1996-05-07
|
490b
|
9 lines
#!/bin/bash
cp Squota /usr/local/bin/Squota ; chmod u=rwx,g=x,o=x /usr/local/bin/Squota
cp Squotaday /usr/local/bin/Squotaday ; chmod u=rwx,g=x,o=x /usr/local/bin/Squotaday
cp Squotack /usr/local/bin/Squotack ; chmod u=rwx,g=sx,o=sx /usr/local/bin/Squotack
cp quotavars /var/adm/Squota/quotavars ; chmod 600 /var/adm/Squota/quotavars
echo "23 50 \* \* \* /usr/local/bin/Squota" >>/usr/spool/cron/crontabs/root
echo "23 55 \* \* \* /usr/local/bin/Squotaday" >>/usr/spool/cron/crontabs/root